/*
 * Created on October 03, 2012, 5:00 PM
 */
package sembr.entities;

/**
 * 
 * @author adriano
 * Encapsulates the electromagnetic source properties
 * 
 */

public class Source extends EntityBase
{
    private String type;
    private String name;
    private double frequency;
    private double width;
    private int startTime;
    private int endTime;
    private double[] position;
    
    /**
     * @return the type
     */
    public String getType() 
    {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) 
    {
        this.type = type;
    }   
    
    /**
     * @return the name
     */
    public String getName() 
    {
        return name;
    }

    /**
     * @param name the type to set
     */
    public void setName(String name) 
    {
        this.name = name;
    } 

    /**
     * @return the frequency
     */
    public double getFrequency() 
    {
        return frequency;
    }

    /**
     * @param frequency the frequency to set
     */
    public void setFrequency(double frequency) 
    {
        this.frequency = frequency;
    }

    /**
     * @return the width
     */
    public double getWidth() 
    {
        return width;
    }

    /**
     * @param width the width to set
     */
    public void setWidth(double width) 
    {
        this.width = width;
    }

    /**
     * @return the startTime
     */
    public int getStartTime() 
    {
        return startTime;
    }

    /**
     * @param startTime the startTime to set
     */
    public void setStartTime(int startTime) 
    {
        this.startTime = startTime;
    }

    /**
     * @return the endTime
     */
    public int getEndTime() 
    {
        return endTime;
    }

    /**
     * @param endTime the endTime to set
     */
    public void setEndTime(int endTime) 
    {
        this.endTime = endTime;
    }

    /**
     * @return the position
     */
    public double[] getPosition() 
    {
        return position;
    }

    /**
     * @param position the position to set
     */
    public void setPosition(double[] position) 
    {
        this.position = position;
    }
}
